<!DOCTYPE html>
<html class="index_body">
<head lang="en">
    <meta charset="UTF-8">
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=10">
    <meta http-equiv="Expires" content="0">
    <meta http-equiv="Pragma" content="no-cache">
    <meta http-equiv="Cache-control" content="no-cache">
    <meta http-equiv="Cache" content="no-cache">
    <title></title>
    <link rel="stylesheet" href="/Public/mui/computer/css/bootstrap.css"/>
    <link rel="stylesheet" href="/Public/mui/computer/css/index.css"/>
    <link rel="stylesheet" href="/Public/mui/css/page.css"/>
    <link rel="stylesheet"  href="/Public/mui/static/bower_components/sweetalert/dist/sweetalert.css">
</head>
<body class="index_body">
<include file="Lay:heder" />
<div id="section" style="padding-top: 20px">
    <table class="table table-hover table-striped all_table">
        <thead class="all_thead">
         <tr>
           <th>订单号</th>
           <th>提交时间</th>
           <th>所属城市</th>
           <th>顾问姓名</th>
           <th>顾问岗位号</th>
           <th>客户姓名</th>
           <!-- <th>渠道编号</th>
           <th>渠道状态</th> -->
           <th>操作</th>
         </tr>
        </thead>
        <tbody class="tables_order table_hover">
        <foreach name="order_data" item="v" >
         <tr orderid="{{$v['id']}}">
             <td>{{$v['orderid']}}</td>
             <td>{{$v['create_time']}}</td>
             <td>{{$v['cityid']}}</td>
             <td>{{$v['GWname']}}</td>
             <td>{{$v['GWnum']}}</td>
             <!-- <td>{{$v['waynum']}}</td>
             <td>{{$v['waystatus']}}</td> -->
             <td>{{$v['customername']}}</td>
             <if condition="$position eq 502">
                    <td>
                        <a href="/admin/order/OrderDetailsinfo?orderid={{$v['id']}}">审核</a>
                    </td>
                <else />
                    <if condition="($v['auditor'] eq 3 && $v['thirdparty_audit'] eq 1)">       <td>
                        <a href="/admin/order/OrderDetailsinfo?orderid={{$v['id']}}">审核</a>
                    </td>
                        <else />
                        <td>
                            <a href="/admin/order/OrderDetailsinfo?orderid={{$v['id']}}&isyy=true">查看详情</a>
                            <a href="/admin/order/orderProgress?orderid={{$v['orderid']}}&isyy=true">查看进度</a>
                        </td>
                    </if>
             </if>
             
             
         </tr>
         </foreach>
        </tbody>
    </table>
    <include file="News:news" />
     <nav aria-label="Page navigation" class="pagin">
        <div class ="black2">{{$page}}</div>
     </nav>
</div>
<script src="/Public/mui/computer/js/jquery-1.11.3.js"></script>
<script type="text/javascript" src="/Public/mui/computer/js/order.js?v=2"></script>
<script src="/Public/mui/computer/js/back.js"></script>
<script type="text/javascript">
    newsdingdan();
    function newsdingdan(){
        $(parent.frames["leftFrame"].document).find(".click_control").removeClass("active_p ");
        $(parent.frames["leftFrame"].document).find("#hisinformation").prev().addClass("active_p");
        $(parent.frames["leftFrame"].document).find(".menuson ").addClass("hidden_l").removeClass("show_l");
        $(parent.frames["leftFrame"].document).find("#examinelist").addClass("active");
        $(parent.frames["leftFrame"].document).find("#examinelist").siblings().removeClass("active");
        $(parent.frames["leftFrame"].document).find("#hisinformation").addClass("show_l").removeClass("hidden_l");
    }
    sessionStorage.OrderListIds = '';
    var orderList;
    $('.tables_order tr').each(function(){
       orderList = sessionStorage.OrderListIds+','+$(this).attr('orderid');
    });
    if(orderList){
        var arrlist = orderList.split(',');
        arrlist.shift();
        sessionStorage.OrderListIds = arrlist.join(',');
    }
</script>
</body>
</html>